package com.yirui.bridge.core;

/**
 * @author Dujie
 * @create 2025/7/25
 * @since 1.0.0
 */
public class SourceTypeContext {
    private static ThreadLocal<String> type = new ThreadLocal<>();

    public static void clear() {
        type.remove();
    }

    public static void setType(String value) {
        type.set(value);
    }

    public static String getType() {
        return type.get();
    }
}
